import request from "@/utils/request"

// // 库存周转天数目标配置 列表
// export function stockingConfigList(params) {
//   return request({
//     url: `/v1/base/stocking-config/list`,
//     method: "get",
//     params,
//   })
// }

// 销售预测准确率列表
export const salesForecastAccuracyList = (data) =>
  request({
    url: "/v1/report/sales-forecast-accuracy/list",
    method: "post",
    data,
  })

// 计划下单及时率列表
export const timelinessRateList = (data) =>
  request({
    url: "/v1/report/timeliness-rate/list",
    method: "post",
    data,
  })

// 采购下单及时率列表
export const purchaseOrderTimelinessRateList = (data) =>
  request({
    url: "/v1/report/purchase-order-timeliness-rate/list",
    method: "post",
    data,
  })
// 出货需求满足率列表
export const shippingFulfillmentRateList = (data) =>
  request({
    url: "/v1/report/shipping-fulfillment-rate/list",
    method: "post",
    data,
  })
// 备库单及时率列表
export const stockingTimelinessRateList = (data) =>
  request({
    url: "/v1/report/stocking-timeliness-rate/list",
    method: "post",
    data,
  })
